from enum import Enum
class Color(Enum):
    RED = 'red'
    GREEN = 'green'
    BLUE = 'blue'
color = Color(input("ENTER your choice of 'red' , blue or green"))

match color:
    case Color.RED:
        print("RED")
    case Color.GREEN:
        print("GREEN")
    case Color.BLUE:
        print("Blue")